package com.pattern.design.designpattern.Baozhuang;

import com.pattern.design.designpattern.MainActivity;

/**
 * author:harisucici on 2018/10/12 09:41
 * email:harisucici@gmail.com
 * name:
 * todo:
 */
public class CheapCloth extends Cloth {
    /**
     * Instantiates a new Cheap cloth.
     *
     * @param p the p
     */
    public CheapCloth(Person p) {
        super(p);
    }

    @Override
    public void dressed() {
        super.dressed();
        dressShoes();
    }

    private void dressShoes(){
        MainActivity.systemOut("cheap_shoes");
    }
}
